from zhoukao3_0929.po.Page.Page import Page
from zhoukao3_0929.po.Page.Page2 import Page2
from zhoukao3_0929.po.Page.Page3 import Page3
from selenium import webdriver
import pytest
@pytest.fixture()
def driver():
    driver=webdriver.Edge()
    driver.maximize_window()
    yield driver
    driver.quit()
def test_a3mall(driver):
    po=Page(driver)
    po.test_a3mall_login()
    po2 = Page2(driver)
    po2.test_sousuo()
    po3 = Page3(driver)
    po3.test_spxiadan()
if __name__ == '__main__':
    pytest.main()